package com.example.airoles.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "llm")
public class LlmConfig {
    
    private String provider = "qiniu"; // Default and only provider
    
    public String getProvider() {
        return provider;
    }
    
    public void setProvider(String provider) {
        this.provider = provider;
    }
    
    public boolean isQiniu() {
        return "qiniu".equalsIgnoreCase(provider);
    }
}